package com.chis.encode;

import com.alibaba.fastjson.JSON;
import com.chis.jm.pojo.Child;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<Child>  list = new ArrayList<>();
        for(int i = 0 ; i < 10 ; i++){
            Child child = new Child();
            child.setCreateDate(new Date());
            child.setChilAccountCode(1234);
            child.setChilAddress("江苏省无锡市新吴区新安花苑二区1023");
            child.setChilAddressdistrict("dfffffff346cvbcgfbngfffdddddddd");
            child.setChilArtimove(123423);
            child.setChilBirthday(new Date());
            child.setChilBirthno("345646464646464646");
            child.setChilCardno("3423542354534534563452345546464646464646");
            child.setChilCode(235434545454L);
            child.setChilAparetel("dsgdsfdsfdf");
            child.setChilCreatesiteName("dfdfdsdgfdsfdsfdsfds");
            child.setChilIfwxin(1);
            list.add(child);
        }
        String str = JSON.toJSONString(list);
        System.out.println(str);
    }
}
